#!/bin/sh
LB_HOME=./libs
LB_VERSION=1.2.3
API_VERSION=1.7.5
CLASSPATH=${CLASSPATH}:${LB_HOME}/logback-classic-${LB_VERSION}.jar
CLASSPATH=${CLASSPATH}:${LB_HOME}/logback-core-${LB_VERSION}.jar
CLASSPATH=${CLASSPATH}:${LB_HOME}/logback-examples-${LB_VERSION}.jar
CLASSPATH=${CLASSPATH}:${LB_HOME}/slf4j-api-${API_VERSION}.jar
export CLASSPATH
echo $CLASSPATH
# log event to server:6000
# java chapters.appenders.socket.SocketClient1 localhost 6000
# SOCKET: log event to server:6000, SERVERSOCKET: log listen on 4560
java chapters.appenders.socket.SocketClient2 client.xml
